Skip to main content
GET
/
privacy
/
consents
/
{id}
Get a privacy consent
curl --request GET \
  --url https://your_a2_service/privacy/consents/{id}
[
  {
    "consent_channel": "web_login",
    "consent_date": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "is_agreed": true,
    "policy_version": "1.0.0",
    "updated_at": "2023-11-07T05:31:56Z",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Path Parameters

id
string<uuid>
required

The user ID.

Response

Successful Response

The channel where the privacy consent was given.

Examples:

"web_login"

is_agreed
boolean
required

Whether the user agreed to the privacy policy.

policy_version
string
required

The version of privacy consent.

Examples:

"1.0.0"

user_id
string<uuid>
required

The ID of the user.

The date of the privacy consent.

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.